package org.oneblog.data.query;

import org.oneblog.data.util.JunitConsoleOut;

public class 
AlbumQuery extends BaseSolrQuery {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3692579397131518151L;

	private Integer viewDefuncted = 1; //是否查看已删除，1表示查看已删除，否则只查看未删除
	
	private Integer viewSubs = 1; //是否返回关联的文章列表信息，1：表示返回，其它值表示不返回
	
	public String key() {
		return JunitConsoleOut.console("_{}_{}", new Object[] {
			viewDefuncted, viewDefuncted	
		});
	}

	public Integer getViewDefuncted() {
		return viewDefuncted;
	}

	public void setViewDefuncted(Integer viewDefuncted) {
		this.viewDefuncted = viewDefuncted;
	}

	public Integer getViewSubs() {
		return viewSubs;
	}

	public void setViewSubs(Integer viewSubs) {
		this.viewSubs = viewSubs;
	}
}
